$(function () {
    var el = $('body'),
        comWechatPublish, comWechatPlaylike, comWechatRelatewords, comWechatTendency;


    // initiate layout and plugins
    Metronic.init(); // init metronic core components
    Layout.init(); // init current layout
    Demo.init(); // init demo features


    comWechatPublish = el.find('.com-wechat-publish').WechatPublish({});
    comWechatPlaylike = el.find('.com-wechat-playlike').WechatPlaylike({
        data: pageData.wechatPlaylike
    });
    comWechatRelatewords = el.find('.com-wechat-relate-words').WechatRelatewords({
        data: pageData.wechatRelateWords
    });
    comWechatTendency = el.find('.com-wechat-tendency').WechatTendency({
        data: pageData.wechatTendency
    });
});
